package com.bike.mapper;

import java.util.List;

import com.bike.entity.SysUser;
import com.bike.util.PageData;
import com.github.miemiedev.mybatis.paginator.domain.PageBounds;

public interface SysUserMapper {
    int deleteByPrimaryKey(Long userId);

    int insert(SysUser record);

    int insertSelective(SysUser record);

    SysUser selectByPrimaryKey(Long userId);

    int updateByPrimaryKeySelective(SysUser record);

    int updateByPrimaryKey(SysUser record);

	SysUser selectByUserName(String name);

	List<SysUser> selectSysUserList(PageData pd, PageBounds pageBounds);

	List<SysUser> selectByPage(PageData pd, PageBounds pageBounds);
}